import Request from "../utils/request"

const request = new Request().http

export function Login(data) {
	return request({
		url: "api/school/login/login", //请求头
		method: "POST", //请求方式
		data: data //请求数据 
	})
}
export function getAgreement(data) {
	//获取隐私政策
	return request({
		url: "api/school/login/getAgreement", //请求头
		method: "POST", //请求方式
		data: data //请求数据
	}) 
}
export function outAccount(data) {
	//退出登录
	return request({
		url: "api/school/index/outAccount", //请求头
		method: "POST", //请求方式
		data: data //请求数据
	})
}